package com.example.blogapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blogapi.domain.MsSysUser;
import com.example.blogapi.vo.Result;
import com.example.blogapi.vo.UserVo;

/**
* @author 13723
* @description 针对表【ms_sys_user】的数据库操作Service
* @createDate 2022-10-20 15:22:58
*/
public interface MsSysUserService extends IService<MsSysUser> {
    MsSysUser findUser(String account,String password);

    Result findUserByToken(String token);

    MsSysUser findUserByAccount(String account);

    UserVo findUserVoById(Long userId);

    boolean save(MsSysUser user);
}
